/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package inet.ulti;

import inet.util.DateTime;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author ÂuNgọcThái
 */
public class DateTimeUlti {

    public static final String noteDate() {
        DateFormat dateFormat = new SimpleDateFormat("MM/yyyy");
        Date date = new Date();
        return dateFormat.format(date);
    }

//    public static final String dayOfWeek() {
//        DateTime dt = new DateTime(nowDay());
//        return dt.;
//    }
    public static final int nowDay() {
        DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
        Date date = new Date();
        int i = date.getDay();
        return i;
    }
    public static final void offDay(){
        if(nowDay()==0){
            
        }
        if(nowDay()==6){
           
        }
    }
    public static final String dateNow() {
        DateFormat dateFormat = new SimpleDateFormat("d");
        Date date = new Date();
        return dateFormat.format(date);
    }
    public static void main(String[] a) {
        System.out.print(dateNow());
    }
    
}
